const text/template/parse.trimMarkerLen
6 uses
text/template/parse (current package)
lex.go#L106: trimMarkerLen = Pos(1 + 1) // marker plus space before or after
lex.go#L286: if hasRightTrimMarker(l.input[l.pos:]) && strings.HasPrefix(l.input[l.pos+trimMarkerLen:], l.rightDelim) { // With trim marker.
lex.go#L306: afterMarker = trimMarkerLen
lex.go#L336: l.pos += trimMarkerLen
lex.go#L350: l.pos += trimMarkerLen
lex.go#L445: if hasRightTrimMarker(l.input[l.pos-1:]) && strings.HasPrefix(l.input[l.pos-1+trimMarkerLen:], l.rightDelim) {